package com.baitengsoft.patentservicemonitor.job.redis.service;

import java.util.List;

/**
 * @author wangze
 * @date 2018-08-26 16:15.
 **/
public interface IRedisListService {
     void lPush(String key, String value);

     void lPushAll(String key, List<String> list);

     void set(String key, int offset, String value);

     void insert(String key, String value1, String value2);

     void getValueByIndex(String key, int offset);

     Long size(String key);

     void remove(String key, long count, String value);

     void trim(String key, int start, int end);

     void lpop(String key);

     List<String> lrange(String key, int start, int end);

     void rightPopAndLeftPush(String sourceKey, String destinationKey);
}
